From ae18347b814db3d89f985ebc21dd4082b8dcc80e Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 11 Jan 2001 15:30:22 +0000 Subject: [PATCH] (isearch-search): In the condition-case handler for `error', set isearch-invalid-regexp to the whole error message. --- lisp/isearch.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/isearch.el b/lisp/isearch.el index 997cdc6aac9..251c85cf1e9 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -1583,8 +1583,8 @@ If there is no completion possible, say so and continue searching." isearch-invalid-regexp) (setq isearch-invalid-regexp "incomplete input"))) (error - ;; stack overflow in regexp search. - (setq isearch-invalid-regexp (car (cdr lossage))))) + ;; Stack overflow in regexp search, for instance. + (setq isearch-invalid-regexp (format "%s" lossage)))) (if isearch-success nil -- 2.30.2